package com.sc.oa.entity;

import java.util.HashSet;
import java.util.Set;


/**
 * UserAccout entity. @author MyEclipse Persistence Tools
 */

public class UserAccout  implements java.io.Serializable {


    // Fields    

     private Integer uid;
     private String account;
     private String password;
     private String email;
     private Integer deptid;
     private Set roles = new HashSet(0);
     private Set group = new HashSet(0);


    // Constructors

    /** default constructor */
    public UserAccout() {
    }

   
    // Property accessors

    public Integer getUid() {
        return this.uid;
    }
    
    public void setUid(Integer uid) {
        this.uid = uid;
    }


    public String getAccount() {
        return this.account;
    }
    
    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getDeptid() {
        return this.deptid;
    }
    
    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }


	public Set getRoles() {
		return roles;
	}

	public void setRoles(Set roles) {
		this.roles = roles;
	}

	public Set getGroup() {
		return group;
	}

	public void setGroup(Set group) {
		this.group = group;
	}
   
	

}